Integrand size = 16, antiderivative size = 44 \[ \int \frac {\log \left (c \left (a+b x^2\right )^p\right )}{x} \, dx=\frac {1}{2} \log \left (-\frac {b x^2}{a}\right ) \log \left (c \left (a+b x^2\right )^p\right )+\frac {1}{2} p \operatorname {PolyLog}\left (2,1+\frac {b x^2}{a}\right ) \]
[Out]
Time = 0.03 (sec) , antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.188, Rules used = {2504, 2441, 2352} \[ \int \frac {\log \left (c \left (a+b x^2\right )^p\right )}{x} \, dx=\frac {1}{2} \log \left (-\frac {b x^2}{a}\right ) \log \left (c \left (a+b x^2\right )^p\right )+\frac {1}{2} p \operatorname {PolyLog}\left (2,\frac {b x^2}{a}+1\right ) \]
[In]
[Out]
Rule 2352
Rule 2441
Rule 2504
Rubi steps \begin{align*} \text {integral}& = \frac {1}{2} \text {Subst}\left (\int \frac {\log \left (c (a+b x)^p\right )}{x} \, dx,x,x^2\right ) \\ & = \frac {1}{2} \log \left (-\frac {b x^2}{a}\right ) \log \left (c \left (a+b x^2\right )^p\right )-\frac {1}{2} (b p) \text {Subst}\left (\int \frac {\log \left (-\frac {b x}{a}\right )}{a+b x} \, dx,x,x^2\right ) \\ & = \frac {1}{2} \log \left (-\frac {b x^2}{a}\right ) \log \left (c \left (a+b x^2\right )^p\right )+\frac {1}{2} p \text {Li}_2\left (1+\frac {b x^2}{a}\right ) \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 43, normalized size of antiderivative = 0.98 \[ \int \frac {\log \left (c \left (a+b x^2\right )^p\right )}{x} \, dx=\frac {1}{2} \left (\log \left (-\frac {b x^2}{a}\right ) \log \left (c \left (a+b x^2\right )^p\right )+p \operatorname {PolyLog}\left (2,\frac {a+b x^2}{a}\right )\right ) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(109\) vs. \(2(40)=80\).
Time = 0.23 (sec) , antiderivative size = 110, normalized size of antiderivative = 2.50
method | result | size |
parts | \(\ln \left (c \left (b \,x^{2}+a \right )^{p}\right ) \ln \left (x \right )-2 p b \left (\frac {\ln \left (x \right ) \left (\ln \left (\frac {-b x +\sqrt {-a b}}{\sqrt {-a b}}\right )+\ln \left (\frac {b x +\sqrt {-a b}}{\sqrt {-a b}}\right )\right )}{2 b}+\frac {\operatorname {dilog}\left (\frac {-b x +\sqrt {-a b}}{\sqrt {-a b}}\right )+\operatorname {dilog}\left (\frac {b x +\sqrt {-a b}}{\sqrt {-a b}}\right )}{2 b}\right )\) | \(110\) |
risch | \(\ln \left (\left (b \,x^{2}+a \right )^{p}\right ) \ln \left (x \right )-p \ln \left (x \right ) \ln \left (\frac {-b x +\sqrt {-a b}}{\sqrt {-a b}}\right )-p \ln \left (x \right ) \ln \left (\frac {b x +\sqrt {-a b}}{\sqrt {-a b}}\right )-p \operatorname {dilog}\left (\frac {-b x +\sqrt {-a b}}{\sqrt {-a b}}\right )-p \operatorname {dilog}\left (\frac {b x +\sqrt {-a b}}{\sqrt {-a b}}\right )+\left (\frac {i \pi \,\operatorname {csgn}\left (i \left (b \,x^{2}+a \right )^{p}\right ) {\operatorname {csgn}\left (i c \left (b \,x^{2}+a \right )^{p}\right )}^{2}}{2}-\frac {i \pi \,\operatorname {csgn}\left (i \left (b \,x^{2}+a \right )^{p}\right ) \operatorname {csgn}\left (i c \left (b \,x^{2}+a \right )^{p}\right ) \operatorname {csgn}\left (i c \right )}{2}-\frac {i \pi {\operatorname {csgn}\left (i c \left (b \,x^{2}+a \right )^{p}\right )}^{3}}{2}+\frac {i \pi {\operatorname {csgn}\left (i c \left (b \,x^{2}+a \right )^{p}\right )}^{2} \operatorname {csgn}\left (i c \right )}{2}+\ln \left (c \right )\right ) \ln \left (x \right )\) | \(225\) |
[In]
[Out]
\[ \int \frac {\log \left (c \left (a+b x^2\right )^p\right )}{x} \, dx=\int { \frac {\log \left ({\left (b x^{2} + a\right )}^{p} c\right )}{x} \,d x } \]
[In]
[Out]
\[ \int \frac {\log \left (c \left (a+b x^2\right )^p\right )}{x} \, dx=\int \frac {\log {\left (c \left (a + b x^{2}\right )^{p} \right )}}{x}\, dx \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 80 vs. \(2 (39) = 78\).
Time = 0.20 (sec) , antiderivative size = 80, normalized size of antiderivative = 1.82 \[ \int \frac {\log \left (c \left (a+b x^2\right )^p\right )}{x} \, dx=\frac {1}{2} \, b p {\left (\frac {2 \, \log \left (b x^{2} + a\right ) \log \left (x\right )}{b} - \frac {2 \, \log \left (\frac {b x^{2}}{a} + 1\right ) \log \left (x\right ) + {\rm Li}_2\left (-\frac {b x^{2}}{a}\right )}{b}\right )} - p \log \left (b x^{2} + a\right ) \log \left (x\right ) + \log \left ({\left (b x^{2} + a\right )}^{p} c\right ) \log \left (x\right ) \]
[In]
[Out]
\[ \int \frac {\log \left (c \left (a+b x^2\right )^p\right )}{x} \, dx=\int { \frac {\log \left ({\left (b x^{2} + a\right )}^{p} c\right )}{x} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {\log \left (c \left (a+b x^2\right )^p\right )}{x} \, dx=\int \frac {\ln \left (c\,{\left (b\,x^2+a\right )}^p\right )}{x} \,d x \]
[In]
[Out]